<script>
export default {
  name: "ObjectView",
  props: {
    element: Object,
    value: Object
  },
  render(h, context) {
    let value = this.value[this.element.vModel][this.element.key] ? this.value[this.element.vModel][this.element.key] : "--"
    return h("span",value)
  }
}
</script>

<style scoped>

</style>
